﻿using System;
using System.Windows;
using SoftSource.MVVMC;
using SoftSource.Timecard.Web.Data;

namespace SoftSource.Timecard.ViewModelInterfaces
{
    public interface IUserEditorViewModelConsume : IDataViewModelConsume, IEditorConsume
    {
        #region Properties

        User User { get; }

        #endregion Properties

        #region Methods

        Func<Action, UIElement> CreateUserProjectEditor { get; }

        #endregion Methods
    }

    public interface IUserEditorViewModelService : IDataViewModelService, IEditorService
    {
        #region Properties

        User User { get; set; }

        #endregion Properties

        #region Methods

        Func<Action, UIElement> CreateUserProjectEditor { get; set; }

        #endregion Methods
    }

    public interface IUserEditorViewModel : 
        IDataViewModel, 
        IUserEditorViewModelConsume, 
        IUserEditorViewModelService
    {
    }
}
